from pydantic_settings import BaseSettings


class Settings(BaseSettings):
    app_name: str = "YOLOv8 Detection API"
    model_path: str = "yolov8n.pt"
    max_image_size: int = 1024 * 1024 * 10  # 10MB
    base64_max_length: int = 1024 * 1024 * 10  # 10MB

    class Config:
        env_file = ".env"


settings = Settings()
